#include "view_standard_base.h"
#include "ViewStyle.h"

#include <QDebug>

View_Standard_Base::View_Standard_Base(View_Standard *vs):
    View_Standard(vs)
{

}

View_Standard_Base::View_Standard_Base(owid::Widget_Enhanced *wid):
    View_Standard(wid)
{

}



void View_Standard_Base::run()
{

    // 窗口边框去除_我认为整个工程都应该 是无边框的窗口_________________________________________________________
    _wid -> setWindowFlags(Qt::FramelessWindowHint);


    // 纯白背景_________________________________________________________
    QPalette pal(_wid ->palette());
    pal.setColor(QPalette::Background, Qt::white);
    _wid ->setAutoFillBackground(true);
    _wid ->setPalette(pal);


}
